<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<#include "../common/res.html">
	</head>
	
	<body class="bg">
		<#include "../common/top.html">
		
		<div class="content">
			<div class="block-nav">
				<#include "../common/nav.html">
			</div>
			<div class="block-content" >
				
				<div class="block-content-nav">
					<span class="title">机构分配 添加/修改</span>
				</div>
				
				<div class="block-content-description">
					<span>
						机构分配
					</span>
				</div>
				
				<div class="block-content-content">
					<form class="fm-form" action="${s.base}/wxcms/accountorg/doMerge.html" method="post" enctype="multipart/form-data">
						<input type="hidden" name="id" value="${entity.id!}"/>
						<input type="hidden" name="openid" value="${entity.openid!}"/>
						<ul>
							<li>
								<label>微信名称 </label>
								<input name="nickname" type="text" readonly value="${entity.nicknameStr!}"/>
							</li>
							<li>
								<label>机构名称 </label>
								<select name="orgId" style="width:158px;">
									<option value=""></option>
									<#if orgList?? >
									<#list orgList as row>
										<#if entity.orgId! == row.orgId>
											<option value="${row.orgId!}" selected>${row.orgName!}</option>
										<#else>
											<option value="${row.orgId!}" >${row.orgName!}</option>
										</#if>
									</#list>
									</#if>
								</select>
							</li>
							<li>
								<label>真实姓名 </label>
								<input name="realName" type="text"  value="${entity.realName!}"/>
							</li>
						</ul>
						
						<div style="margin-left:75px;margin-top: 20px;">
							<input class="btn" type="submit" value="保 存"/>
						</div>
					</form>
				</div>
			</div>
			<div class="clearfloat"></div>
		</div>
		
		<#include "../common/footer.html">
		
	</body>
	
</html>
